﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gurucore.DTOGenerator.Business
{
	public class ClassInfo
	{
		private string m_sNamespace;

		public string Namespace
		{
			get { return m_sNamespace; }
			set { m_sNamespace = value; }
		}

		private string m_sTableName;

		public string TableName
		{
			get { return m_sTableName; }
			set { m_sTableName = value; }
		}

		private string m_sPrimaryKey;

		public string PrimaryKey
		{
			get { return m_sPrimaryKey; }
			set { m_sPrimaryKey = value; }
		}

		private bool m_bIsTable;

		public bool IsTable
		{
			get { return m_bIsTable; }
			set { m_bIsTable = value; }
		}

		private bool m_bNoConventionPK;		

		public bool NoConventionPK
		{
		  get { return m_bNoConventionPK; }
		  set { m_bNoConventionPK = value; }
		}

		private List<PropertyInfo> m_arrProperties;

		public List<PropertyInfo> Properties
		{
			get { return m_arrProperties; }
			set { m_arrProperties = value; }
		}

		public ClassInfo()
		{
			m_arrProperties = new List<PropertyInfo>();
		}
	}
}
